<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<base href="<%=basePath%>">
<div class=" row-fluid">
<div  class="" style='background-color: #eee;height:100px;'>
        <h4><font color="red">
      <c:if test="${success }">
               修改成功
      </c:if>     
</font></h4>
		<h3>
		
		<c:choose>
		<c:when test="${news.bn=='news' }"><h1 align="center">新闻详情</h1></c:when>
		<c:when test="${news.bn=='bulletin' }"><h1 align="center">公告详情</h1></c:when>
		</c:choose>
</h3>
	</div>
	<div class="span12 borderColor"  >
		<h3 align="center">${news.title }</h3><br>
			<p align="center">${news.publishDate }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			${news.author.realName }</p>
			<div style="margin-left:70px;margin-right:70px;margin-bottom:50px;" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			${news.content }
			<br>
	        </div>
	</div>

</div>